package com.warm.demo.convert;

import com.warm.demo.api.dto.TestMaterDto;
import com.warm.demo.api.vo.TestMaterVo;
import com.warm.demo.domain.TestMater;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 主子演示对象转换器
 *
 * @author warm
 */
@Mapper
public interface TestMaterC {

    TestMaterC testMaterC = Mappers.getMapper(TestMaterC.class);

    TestMater convert(TestMaterDto dto);

    TestMaterVo convert(TestMater entity);

}
